//
//  MBProgressHUD+Tool.h
//  PaasLocal
//
//  Created by 余意 on 2018/7/2.
//  Copyright © 2018年 余意. All rights reserved.
//

#import "MBProgressHUD.h"

#define SHOWLOADING                [MBProgressHUD loading];
#define HUDHIDE                    [MBProgressHUD hiddenHUD];

@interface MBProgressHUD (Tool)

+ (void)loadingView:(UIView *)view;

+ (void)loading;

+ (void)showMessage:(NSString *)message
             toView:(UIView *)view
         afterDelay:(double)second
  WithCompleteBlock:(void (^)(void))completeBlock;

+ (void)showMessage:(NSString *)message
             toView:(UIView *)view
         afterDelay:(double)second;

+ (void)showMessage:(NSString *)message
             toView:(UIView *)view;

+ (void)showMessage:(NSString *)message;

+ (void)hiddenFromView:(UIView *)view;

+ (void)hiddenHUD;

@end
